package com.gopay.checkorder.service.impl.bcdl;

import java.util.List;

import javax.annotation.Resource;

import com.gopay.checkorder.service.BankOrderService;
import com.gopay.checkorder.service.BcdlOrderSendBankService;
import com.gopay.common.Result;
import com.gopay.common.constants.proccode.ProcCodeConstants;
import com.gopay.common.cps.manager.bank.BankOrderQueryManager;
import com.gopay.common.cps.manager.order.CpsGeneralMainOrderQueryManager;
import com.gopay.common.domain.bank.BankOrder;
import com.gopay.common.domain.bank.BaseMessage;
import com.gopay.common.domain.bank.BcdlQueryBalance;
import com.gopay.common.domain.bank.BcdlResult;
import com.gopay.common.domain.bank.bcdl.BcdlPacketRes;
import com.gopay.common.domain.bank.dayend.BaseDayendEntry;
import com.gopay.common.domain.cps.CpsGenMainOrder;
import com.gopay.common.domain.cps.vo.CheckOrderResult;
import com.gopay.common.exception.GopayException;

public class BaseBcdlOrderProcessImpl implements BankOrderService,BcdlOrderSendBankService{
	
	@Resource(name = "bankOrderQueryManager")
	private BankOrderQueryManager bankOrderQuery;
    @Resource(name = "cpsGeneralMainOrderQueryManager")
    protected CpsGeneralMainOrderQueryManager mainOrderQuery;
	  protected CpsGenMainOrder getMainOrder(String orderId) throws GopayException {
	        // 获取主订单表
	        CpsGenMainOrder mainOrder = mainOrderQuery.get(orderId);
	        if (mainOrder == null) {
	            throw new GopayException(ProcCodeConstants.PROC_CODE_100E5041, "mainOrder is null");
	        }

	        return mainOrder;
	    }
	@Override
	public CheckOrderResult checkOrder(BankOrder bankOrder, String target) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public BankOrder getDbOrder() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public BaseMessage dayend(String bank_bus) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public Result getDayendMsg(String string) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public List<CheckOrderResult> checkDayend(String bank_bus) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public CheckOrderResult checkDayendOrder(BaseDayendEntry bdm, BankOrder bo) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public BcdlResult sendBank(BankOrder bankOrder) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public BcdlResult sendBank(BankOrder bankOrder, String label) {
		// TODO Auto-generated method stub
		return null;
	}
    @Override
    public BcdlResult queryBalance(BcdlQueryBalance queryOrder) {
        // TODO Auto-generated method stub
        return null;
    }
	@Override
	public BcdlResult send4batch(List<BankOrder> bankOrders, String packetNo, String label, String bank) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public BcdlPacketRes query4batch(String packetNo, String label, String bank) {
		// TODO Auto-generated method stub
		return null;
	}
    @Override
    public BcdlResult queryAcctDetail(Object object) {
        // TODO Auto-generated method stub
        return null;
    }
    
}
